// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.fir.search;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("fir/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/search/implementations")
public abstract class HLImplementationSearcherTestGenerated extends AbstractHLImplementationSearcherTest {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/search/implementations/classes")
    public abstract static class Classes extends AbstractHLImplementationSearcherTest {
        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/search/implementations/classes/incorrectCode")
        public static class IncorrectCode extends AbstractHLImplementationSearcherTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K2;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("extendClassWithoutSuperConstructorCall.kt")
            public void testExtendClassWithoutSuperConstructorCall() throws Exception {
                runTest("testData/search/implementations/classes/incorrectCode/extendClassWithoutSuperConstructorCall.kt");
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/search/implementations/classes")
        public static class Uncategorized extends AbstractHLImplementationSearcherTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K2;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("classObjectInStaticNestedClass.kt")
            public void testClassObjectInStaticNestedClass() throws Exception {
                runTest("testData/search/implementations/classes/classObjectInStaticNestedClass.kt");
            }

            @TestMetadata("classWithDeepHeiarchy.kt")
            public void testClassWithDeepHeiarchy() throws Exception {
                runTest("testData/search/implementations/classes/classWithDeepHeiarchy.kt");
            }

            @TestMetadata("classWithTypeParameters.kt")
            public void testClassWithTypeParameters() throws Exception {
                runTest("testData/search/implementations/classes/classWithTypeParameters.kt");
            }

            @TestMetadata("interfaces.kt")
            public void testInterfaces() throws Exception {
                runTest("testData/search/implementations/classes/interfaces.kt");
            }

            @TestMetadata("localClass.kt")
            public void testLocalClass() throws Exception {
                runTest("testData/search/implementations/classes/localClass.kt");
            }

            @TestMetadata("singleSuperClass.kt")
            public void testSingleSuperClass() throws Exception {
                runTest("testData/search/implementations/classes/singleSuperClass.kt");
            }
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/search/implementations/methods")
    public abstract static class Methods extends AbstractHLImplementationSearcherTest {
        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/search/implementations/methods/incorrectCode")
        public static class IncorrectCode extends AbstractHLImplementationSearcherTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K2;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("overideMethodWithoutOverrideModifier.kt")
            public void testOverideMethodWithoutOverrideModifier() throws Exception {
                runTest("testData/search/implementations/methods/incorrectCode/overideMethodWithoutOverrideModifier.kt");
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/search/implementations/methods")
        public static class Uncategorized extends AbstractHLImplementationSearcherTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K2;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("EnumEntryFunction.kt")
            public void testEnumEntryFunction() throws Exception {
                runTest("testData/search/implementations/methods/EnumEntryFunction.kt");
            }

            @TestMetadata("inLocalClass.kt")
            public void testInLocalClass() throws Exception {
                runTest("testData/search/implementations/methods/inLocalClass.kt");
            }

            @TestMetadata("inObjectLiteral.kt")
            public void testInObjectLiteral() throws Exception {
                runTest("testData/search/implementations/methods/inObjectLiteral.kt");
            }

            @TestMetadata("singleSuperMethod.kt")
            public void testSingleSuperMethod() throws Exception {
                runTest("testData/search/implementations/methods/singleSuperMethod.kt");
            }
        }
    }

    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/search/implementations/properties")
    public abstract static class Properties extends AbstractHLImplementationSearcherTest {
        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/search/implementations/properties/incorrectCode")
        public static class IncorrectCode extends AbstractHLImplementationSearcherTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K2;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("overidePropertyWithoutOverrideModifier.kt")
            public void testOveridePropertyWithoutOverrideModifier() throws Exception {
                runTest("testData/search/implementations/properties/incorrectCode/overidePropertyWithoutOverrideModifier.kt");
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/search/implementations/properties")
        public static class Uncategorized extends AbstractHLImplementationSearcherTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K2;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("inConstructorParam.kt")
            public void testInConstructorParam() throws Exception {
                runTest("testData/search/implementations/properties/inConstructorParam.kt");
            }

            @TestMetadata("inLocalClass.kt")
            public void testInLocalClass() throws Exception {
                runTest("testData/search/implementations/properties/inLocalClass.kt");
            }

            @TestMetadata("singleSuperProperty.kt")
            public void testSingleSuperProperty() throws Exception {
                runTest("testData/search/implementations/properties/singleSuperProperty.kt");
            }
        }
    }
}
